<?php
namespace bee;

class group extends DAO
{	public $id;
	public $name;
	public $description;
	//public $status;

}

function getGrupas($field='type_name')
{	$row = new grupa();
	$rs = new rowSet($row);
	$retArr = array();
	while ($rs->getRow($row))
	{	$retArr[$row->id] = $row->$field;
	}
	return  $retArr;
}
